package com.woniu.mall.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author 坤
 * @since 2023-05-22
 */
@Getter
@Setter
@TableName("t_mall_store")
@ApiModel(value = "MallStore对象", description = "")
public class MallStore implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("商家id")
      @TableId(value = "store_id", type = IdType.AUTO)
      private Integer storeId;

      @ApiModelProperty("商家名称")
      private String storeName;

      @ApiModelProperty("商家logo")
      private String storeLogo;

      @ApiModelProperty("商家图片")
      private String storePic;

      @ApiModelProperty("商家分类")
      private String storeCategory;

      @ApiModelProperty("商家描述")
      private String storeDesc;

      @ApiModelProperty("商家联系人")
      private String contacts;

      @ApiModelProperty("电话号码")
      private Integer telephone;

      @ApiModelProperty("地址")
      private String address;

      @ApiModelProperty("销量")
      private Integer sale;

      @ApiModelProperty("销量展示")
      private String showSale;

      @ApiModelProperty("商家评价")
      private Byte storeEvaluate;

      @ApiModelProperty("逻辑删除")
      @TableLogic
      private Byte logicalDelete;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;
}
